package com.gaofei.sysmanager.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author wjj
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Supplier extends Model<Supplier> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String supplierCoding;

    private Integer supplierType;

    private String supplierName;

    private String supplierAs;

    private LocalDate supplieDate;

    private String person;

    private String personPhone;

    private String code;

    private String address;

    private String contactPerson;

    private String contactPhone;

    private String contactMail;

    private String start;

    private String stop;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
